package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 历史轨迹对象 tb_track
 * 
 * @author ruoyi
 * @date 2023-06-29
 */
public class TbTrack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 历史轨迹ID */
    private Long trackId;

    /** 历史轨迹编码 */
    @Excel(name = "历史轨迹编码")
    private String trackCode;

    /** 车辆编码 */
    @Excel(name = "车辆编码")
    private String carCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date startTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date endTime;

    /** 历史轨迹记录 */
    @Excel(name = "历史轨迹记录")
    private String trackPath;

    /** 创建人 */
    @Excel(name = "创建人")
    private String trackUserCode;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long trackDeleted;

    public void setTrackId(Long trackId) 
    {
        this.trackId = trackId;
    }

    public Long getTrackId() 
    {
        return trackId;
    }
    public void setTrackCode(String trackCode) 
    {
        this.trackCode = trackCode;
    }

    public String getTrackCode() 
    {
        return trackCode;
    }
    public void setCarCode(String carCode) 
    {
        this.carCode = carCode;
    }

    public String getCarCode() 
    {
        return carCode;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setTrackPath(String trackPath) 
    {
        this.trackPath = trackPath;
    }

    public String getTrackPath() 
    {
        return trackPath;
    }
    public void setTrackUserCode(String trackUserCode) 
    {
        this.trackUserCode = trackUserCode;
    }

    public String getTrackUserCode() 
    {
        return trackUserCode;
    }
    public void setTrackDeleted(Long trackDeleted) 
    {
        this.trackDeleted = trackDeleted;
    }

    public Long getTrackDeleted() 
    {
        return trackDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("trackId", getTrackId())
            .append("trackCode", getTrackCode())
            .append("carCode", getCarCode())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("trackPath", getTrackPath())
            .append("trackUserCode", getTrackUserCode())
            .append("trackDeleted", getTrackDeleted())
            .toString();
    }
}
